const {src, dest, watch}  = require("gulp")

const sass = require("gulp-sass")

function stcFn(){
    return src("./src/sass/*")
            .pipe(sass().on("error",sass.logError))
            .pipe(dest("./src/css"))
}

exports.stc = function(){
    watch("./src/sass/*", stcFn);
}

